﻿<%@ Page Language="C#" MasterPageFile="~/car-Insurance/Car_Insurance_Result_new.master" AutoEventWireup="true"
    CodeFile="ResendEmailConfirmation.aspx.cs" Inherits="User_ResendEmailConfirmation"
    Title="Resend Email Confirmation" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div class="elements_inner_wrapper">
        <div id="contentBody">
            <div class="section">
                <fieldset>
                    <h3>
                        Request Email Confirmation Code:</h3>
                    <div class="row">
                        <span class="assumption">Please enter your email address and type the characters you
                            see in the picture below to request confirmation code. </span>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="row">
                        <div class="errorsummary">
                            <asp:Label ID="lblMessage" Font-Size="Small" ForeColor="Red" runat="server"></asp:Label>
                            <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="customer" />
                        </div>
                    </div>
                    <div class="row">
                        <label for="Email" class="mand_red">
                            Enter Email</label>
                        <div class="field">
                            <span class="indicator">
                                <asp:TextBox ID="txtEmail" runat="server" MaxLength="250" Width="200px"></asp:TextBox>
                            </span><span class="indicator">
                                <asp:RequiredFieldValidator ID="rfvEmail" runat="server" ControlToValidate="txtEmail"
                                    Display="Dynamic" ErrorMessage="" Text="" ValidationGroup="customer">
                                </asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="rfvEmailValid" runat="server" ControlToValidate="txtEmail"
                                    Display="Dynamic" ErrorMessage="" Text="" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                    ValidationGroup="customer"></asp:RegularExpressionValidator>
                            </span>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="row">
                        <label for="Security Check" class="mand_red">
                            Security Check</label>
                        <div class="field">
                            <span class="indicator">
                                <asp:UpdatePanel runat="server" ID="uplCAPCHA">
                                    <ContentTemplate>
                                        <div style="display: block; height: 80px; float: left;">
                                            <asp:Image ID="imgCAPTCHA" runat="server" Height="80px" Width="120px" />
                                        </div>
                                        <asp:ImageButton ID="btnNewImage" runat="server" OnClick="btnNewImage_Click" ImageUrl="~/images/icons/refresh.gif"
                                            ToolTip="Reload" AlternateText="Refresh" />
                                        <%--<asp:Label ID="Label1" Text="" runat="server"></asp:Label>--%>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                                <asp:UpdateProgress AssociatedUpdatePanelID="uplCAPCHA" DisplayAfter="100" runat="server"
                                    ID="udpCAPTCHA">
                                    <ProgressTemplate>
                                        <asp:Image ID="imgLoading" ImageUrl="~/images/loading7.gif" runat="server" />
                                    </ProgressTemplate>
                                </asp:UpdateProgress>
                            </span>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="row">
                        <label for="Security Check" class="mand_red">
                            Text in Box</label>
                        <div class="field">
                            <asp:UpdatePanel ID="uplSecurityCode" runat="server">
                                <ContentTemplate>
                                    <span class="indicator">
                                        <asp:TextBox ID="txtSecurityCode" runat="server"></asp:TextBox>
                                    </span><span class="indicator">
                                        <asp:RequiredFieldValidator ID="rfvSecurityCheck" runat="server" ControlToValidate="txtSecurityCode"
                                            Display="Dynamic" ErrorMessage="" validationErrorCssClass="validationError" Text=""
                                            ValidationGroup="customer"></asp:RequiredFieldValidator>
                                    </span>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                </fieldset>
                <div class="formButtons">
                    <span class="button2">
                        <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" class="img_align_right"
                            Text="Submit" ValidationGroup="customer" />
                    </span>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
